package com.ecoolex.ying.space.entity;

import com.ecoolex.framework.common.annotation.Description;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.springframework.lang.NonNull;

public class WholeHouseCaseExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer offset;

    protected Integer rows;

    public WholeHouseCaseExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public WholeHouseCaseExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    public WholeHouseCaseExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
        rows = null;
        offset = null;
    }

    public static Criteria newAndCreateCriteria() {
        WholeHouseCaseExample example = new WholeHouseCaseExample();
        return example.createCriteria();
    }

    public WholeHouseCaseExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    public WholeHouseCaseExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return this.offset;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getRows() {
        return this.rows;
    }

    public WholeHouseCaseExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    public WholeHouseCaseExample limit(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
        return this;
    }

    public WholeHouseCaseExample page(Integer page, Integer pageSize) {
        this.offset = page * pageSize;
        this.rows = pageSize;
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCaseIdIsNull() {
            addCriterion("wholehousecase.CaseId is null");
            return (Criteria) this;
        }

        public Criteria andCaseIdIsNotNull() {
            addCriterion("wholehousecase.CaseId is not null");
            return (Criteria) this;
        }

        public Criteria andCaseIdEqualTo(Integer value) {
            addCriterion("wholehousecase.CaseId =", value, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.CaseId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCaseIdNotEqualTo(Integer value) {
            addCriterion("wholehousecase.CaseId <>", value, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdNotEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.CaseId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCaseIdGreaterThan(Integer value) {
            addCriterion("wholehousecase.CaseId >", value, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdGreaterThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.CaseId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCaseIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("wholehousecase.CaseId >=", value, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdGreaterThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.CaseId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCaseIdLessThan(Integer value) {
            addCriterion("wholehousecase.CaseId <", value, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdLessThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.CaseId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCaseIdLessThanOrEqualTo(Integer value) {
            addCriterion("wholehousecase.CaseId <=", value, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdLessThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.CaseId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCaseIdIn(List<Integer> values) {
            addCriterion("wholehousecase.CaseId in", values, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdNotIn(List<Integer> values) {
            addCriterion("wholehousecase.CaseId not in", values, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdBetween(Integer value1, Integer value2) {
            addCriterion("wholehousecase.CaseId between", value1, value2, "caseId");
            return (Criteria) this;
        }

        public Criteria andCaseIdNotBetween(Integer value1, Integer value2) {
            addCriterion("wholehousecase.CaseId not between", value1, value2, "caseId");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("wholehousecase.UserId is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("wholehousecase.UserId is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("wholehousecase.UserId =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.UserId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("wholehousecase.UserId <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.UserId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("wholehousecase.UserId >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.UserId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("wholehousecase.UserId >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.UserId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("wholehousecase.UserId <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.UserId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("wholehousecase.UserId <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.UserId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("wholehousecase.UserId in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("wholehousecase.UserId not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("wholehousecase.UserId between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("wholehousecase.UserId not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("wholehousecase.`Name` is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("wholehousecase.`Name` is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("wholehousecase.`Name` =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.`Name` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("wholehousecase.`Name` <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.`Name` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("wholehousecase.`Name` >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.`Name` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("wholehousecase.`Name` >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.`Name` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("wholehousecase.`Name` <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.`Name` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("wholehousecase.`Name` <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.`Name` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("wholehousecase.`Name` like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("wholehousecase.`Name` not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("wholehousecase.`Name` in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("wholehousecase.`Name` not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("wholehousecase.`Name` between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("wholehousecase.`Name` not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andCoverImageIsNull() {
            addCriterion("wholehousecase.CoverImage is null");
            return (Criteria) this;
        }

        public Criteria andCoverImageIsNotNull() {
            addCriterion("wholehousecase.CoverImage is not null");
            return (Criteria) this;
        }

        public Criteria andCoverImageEqualTo(String value) {
            addCriterion("wholehousecase.CoverImage =", value, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.CoverImage = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCoverImageNotEqualTo(String value) {
            addCriterion("wholehousecase.CoverImage <>", value, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageNotEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.CoverImage <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCoverImageGreaterThan(String value) {
            addCriterion("wholehousecase.CoverImage >", value, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageGreaterThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.CoverImage > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCoverImageGreaterThanOrEqualTo(String value) {
            addCriterion("wholehousecase.CoverImage >=", value, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageGreaterThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.CoverImage >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCoverImageLessThan(String value) {
            addCriterion("wholehousecase.CoverImage <", value, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageLessThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.CoverImage < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCoverImageLessThanOrEqualTo(String value) {
            addCriterion("wholehousecase.CoverImage <=", value, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageLessThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.CoverImage <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCoverImageLike(String value) {
            addCriterion("wholehousecase.CoverImage like", value, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageNotLike(String value) {
            addCriterion("wholehousecase.CoverImage not like", value, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageIn(List<String> values) {
            addCriterion("wholehousecase.CoverImage in", values, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageNotIn(List<String> values) {
            addCriterion("wholehousecase.CoverImage not in", values, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageBetween(String value1, String value2) {
            addCriterion("wholehousecase.CoverImage between", value1, value2, "coverImage");
            return (Criteria) this;
        }

        public Criteria andCoverImageNotBetween(String value1, String value2) {
            addCriterion("wholehousecase.CoverImage not between", value1, value2, "coverImage");
            return (Criteria) this;
        }

        public Criteria andStyleDescriptionIsNull() {
            addCriterion("wholehousecase.StyleDescription is null");
            return (Criteria) this;
        }

        public Criteria andStyleDescriptionIsNotNull() {
            addCriterion("wholehousecase.StyleDescription is not null");
            return (Criteria) this;
        }

        public Criteria andStyleDescriptionEqualTo(String value) {
            addCriterion("wholehousecase.StyleDescription =", value, "styleDescription");
            return (Criteria) this;
        }

        public Criteria andStyleDescriptionEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.StyleDescription = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStyleDescriptionNotEqualTo(String value) {
            addCriterion("wholehousecase.StyleDescription <>", value, "styleDescription");
            return (Criteria) this;
        }

        public Criteria andStyleDescriptionNotEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.StyleDescription <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStyleDescriptionGreaterThan(String value) {
            addCriterion("wholehousecase.StyleDescription >", value, "styleDescription");
            return (Criteria) this;
        }

        public Criteria andStyleDescriptionGreaterThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.StyleDescription > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStyleDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("wholehousecase.StyleDescription >=", value, "styleDescription");
            return (Criteria) this;
        }

        public Criteria andStyleDescriptionGreaterThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.StyleDescription >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStyleDescriptionLessThan(String value) {
            addCriterion("wholehousecase.StyleDescription <", value, "styleDescription");
            return (Criteria) this;
        }

        public Criteria andStyleDescriptionLessThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.StyleDescription < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStyleDescriptionLessThanOrEqualTo(String value) {
            addCriterion("wholehousecase.StyleDescription <=", value, "styleDescription");
            return (Criteria) this;
        }

        public Criteria andStyleDescriptionLessThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.StyleDescription <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStyleDescriptionLike(String value) {
            addCriterion("wholehousecase.StyleDescription like", value, "styleDescription");
            return (Criteria) this;
        }

        public Criteria andStyleDescriptionNotLike(String value) {
            addCriterion("wholehousecase.StyleDescription not like", value, "styleDescription");
            return (Criteria) this;
        }

        public Criteria andStyleDescriptionIn(List<String> values) {
            addCriterion("wholehousecase.StyleDescription in", values, "styleDescription");
            return (Criteria) this;
        }

        public Criteria andStyleDescriptionNotIn(List<String> values) {
            addCriterion("wholehousecase.StyleDescription not in", values, "styleDescription");
            return (Criteria) this;
        }

        public Criteria andStyleDescriptionBetween(String value1, String value2) {
            addCriterion("wholehousecase.StyleDescription between", value1, value2, "styleDescription");
            return (Criteria) this;
        }

        public Criteria andStyleDescriptionNotBetween(String value1, String value2) {
            addCriterion("wholehousecase.StyleDescription not between", value1, value2, "styleDescription");
            return (Criteria) this;
        }

        public Criteria andAreaDescriptionIsNull() {
            addCriterion("wholehousecase.AreaDescription is null");
            return (Criteria) this;
        }

        public Criteria andAreaDescriptionIsNotNull() {
            addCriterion("wholehousecase.AreaDescription is not null");
            return (Criteria) this;
        }

        public Criteria andAreaDescriptionEqualTo(String value) {
            addCriterion("wholehousecase.AreaDescription =", value, "areaDescription");
            return (Criteria) this;
        }

        public Criteria andAreaDescriptionEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.AreaDescription = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAreaDescriptionNotEqualTo(String value) {
            addCriterion("wholehousecase.AreaDescription <>", value, "areaDescription");
            return (Criteria) this;
        }

        public Criteria andAreaDescriptionNotEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.AreaDescription <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAreaDescriptionGreaterThan(String value) {
            addCriterion("wholehousecase.AreaDescription >", value, "areaDescription");
            return (Criteria) this;
        }

        public Criteria andAreaDescriptionGreaterThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.AreaDescription > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAreaDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("wholehousecase.AreaDescription >=", value, "areaDescription");
            return (Criteria) this;
        }

        public Criteria andAreaDescriptionGreaterThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.AreaDescription >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAreaDescriptionLessThan(String value) {
            addCriterion("wholehousecase.AreaDescription <", value, "areaDescription");
            return (Criteria) this;
        }

        public Criteria andAreaDescriptionLessThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.AreaDescription < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAreaDescriptionLessThanOrEqualTo(String value) {
            addCriterion("wholehousecase.AreaDescription <=", value, "areaDescription");
            return (Criteria) this;
        }

        public Criteria andAreaDescriptionLessThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.AreaDescription <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAreaDescriptionLike(String value) {
            addCriterion("wholehousecase.AreaDescription like", value, "areaDescription");
            return (Criteria) this;
        }

        public Criteria andAreaDescriptionNotLike(String value) {
            addCriterion("wholehousecase.AreaDescription not like", value, "areaDescription");
            return (Criteria) this;
        }

        public Criteria andAreaDescriptionIn(List<String> values) {
            addCriterion("wholehousecase.AreaDescription in", values, "areaDescription");
            return (Criteria) this;
        }

        public Criteria andAreaDescriptionNotIn(List<String> values) {
            addCriterion("wholehousecase.AreaDescription not in", values, "areaDescription");
            return (Criteria) this;
        }

        public Criteria andAreaDescriptionBetween(String value1, String value2) {
            addCriterion("wholehousecase.AreaDescription between", value1, value2, "areaDescription");
            return (Criteria) this;
        }

        public Criteria andAreaDescriptionNotBetween(String value1, String value2) {
            addCriterion("wholehousecase.AreaDescription not between", value1, value2, "areaDescription");
            return (Criteria) this;
        }

        public Criteria andVrLinkIsNull() {
            addCriterion("wholehousecase.VrLink is null");
            return (Criteria) this;
        }

        public Criteria andVrLinkIsNotNull() {
            addCriterion("wholehousecase.VrLink is not null");
            return (Criteria) this;
        }

        public Criteria andVrLinkEqualTo(String value) {
            addCriterion("wholehousecase.VrLink =", value, "vrLink");
            return (Criteria) this;
        }

        public Criteria andVrLinkEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.VrLink = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andVrLinkNotEqualTo(String value) {
            addCriterion("wholehousecase.VrLink <>", value, "vrLink");
            return (Criteria) this;
        }

        public Criteria andVrLinkNotEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.VrLink <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andVrLinkGreaterThan(String value) {
            addCriterion("wholehousecase.VrLink >", value, "vrLink");
            return (Criteria) this;
        }

        public Criteria andVrLinkGreaterThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.VrLink > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andVrLinkGreaterThanOrEqualTo(String value) {
            addCriterion("wholehousecase.VrLink >=", value, "vrLink");
            return (Criteria) this;
        }

        public Criteria andVrLinkGreaterThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.VrLink >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andVrLinkLessThan(String value) {
            addCriterion("wholehousecase.VrLink <", value, "vrLink");
            return (Criteria) this;
        }

        public Criteria andVrLinkLessThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.VrLink < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andVrLinkLessThanOrEqualTo(String value) {
            addCriterion("wholehousecase.VrLink <=", value, "vrLink");
            return (Criteria) this;
        }

        public Criteria andVrLinkLessThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.VrLink <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andVrLinkLike(String value) {
            addCriterion("wholehousecase.VrLink like", value, "vrLink");
            return (Criteria) this;
        }

        public Criteria andVrLinkNotLike(String value) {
            addCriterion("wholehousecase.VrLink not like", value, "vrLink");
            return (Criteria) this;
        }

        public Criteria andVrLinkIn(List<String> values) {
            addCriterion("wholehousecase.VrLink in", values, "vrLink");
            return (Criteria) this;
        }

        public Criteria andVrLinkNotIn(List<String> values) {
            addCriterion("wholehousecase.VrLink not in", values, "vrLink");
            return (Criteria) this;
        }

        public Criteria andVrLinkBetween(String value1, String value2) {
            addCriterion("wholehousecase.VrLink between", value1, value2, "vrLink");
            return (Criteria) this;
        }

        public Criteria andVrLinkNotBetween(String value1, String value2) {
            addCriterion("wholehousecase.VrLink not between", value1, value2, "vrLink");
            return (Criteria) this;
        }

        public Criteria andOnlineIsNull() {
            addCriterion("wholehousecase.`Online` is null");
            return (Criteria) this;
        }

        public Criteria andOnlineIsNotNull() {
            addCriterion("wholehousecase.`Online` is not null");
            return (Criteria) this;
        }

        public Criteria andOnlineEqualTo(Boolean value) {
            addCriterion("wholehousecase.`Online` =", value, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.`Online` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOnlineNotEqualTo(Boolean value) {
            addCriterion("wholehousecase.`Online` <>", value, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineNotEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.`Online` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOnlineGreaterThan(Boolean value) {
            addCriterion("wholehousecase.`Online` >", value, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineGreaterThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.`Online` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOnlineGreaterThanOrEqualTo(Boolean value) {
            addCriterion("wholehousecase.`Online` >=", value, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineGreaterThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.`Online` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOnlineLessThan(Boolean value) {
            addCriterion("wholehousecase.`Online` <", value, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineLessThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.`Online` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOnlineLessThanOrEqualTo(Boolean value) {
            addCriterion("wholehousecase.`Online` <=", value, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineLessThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.`Online` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOnlineIn(List<Boolean> values) {
            addCriterion("wholehousecase.`Online` in", values, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineNotIn(List<Boolean> values) {
            addCriterion("wholehousecase.`Online` not in", values, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineBetween(Boolean value1, Boolean value2) {
            addCriterion("wholehousecase.`Online` between", value1, value2, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineNotBetween(Boolean value1, Boolean value2) {
            addCriterion("wholehousecase.`Online` not between", value1, value2, "online");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("wholehousecase.Deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("wholehousecase.Deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("wholehousecase.Deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.Deleted = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("wholehousecase.Deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.Deleted <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("wholehousecase.Deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.Deleted > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("wholehousecase.Deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.Deleted >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("wholehousecase.Deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.Deleted < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("wholehousecase.Deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.Deleted <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("wholehousecase.Deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("wholehousecase.Deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("wholehousecase.Deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("wholehousecase.Deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("wholehousecase.`CreateUser` is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("wholehousecase.`CreateUser` is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("wholehousecase.`CreateUser` =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.`CreateUser` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("wholehousecase.`CreateUser` <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.`CreateUser` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("wholehousecase.`CreateUser` >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.`CreateUser` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("wholehousecase.`CreateUser` >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.`CreateUser` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("wholehousecase.`CreateUser` <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.`CreateUser` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("wholehousecase.`CreateUser` <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.`CreateUser` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("wholehousecase.`CreateUser` like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("wholehousecase.`CreateUser` not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("wholehousecase.`CreateUser` in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("wholehousecase.`CreateUser` not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("wholehousecase.`CreateUser` between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("wholehousecase.`CreateUser` not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("wholehousecase.CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("wholehousecase.CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("wholehousecase.CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.CreateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("wholehousecase.CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.CreateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("wholehousecase.CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.CreateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("wholehousecase.CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.CreateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("wholehousecase.CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.CreateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("wholehousecase.CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.CreateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("wholehousecase.CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("wholehousecase.CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("wholehousecase.CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("wholehousecase.CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("wholehousecase.UpdateUser is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("wholehousecase.UpdateUser is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("wholehousecase.UpdateUser =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.UpdateUser = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("wholehousecase.UpdateUser <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.UpdateUser <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("wholehousecase.UpdateUser >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.UpdateUser > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("wholehousecase.UpdateUser >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.UpdateUser >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("wholehousecase.UpdateUser <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.UpdateUser < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("wholehousecase.UpdateUser <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.UpdateUser <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("wholehousecase.UpdateUser like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("wholehousecase.UpdateUser not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("wholehousecase.UpdateUser in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("wholehousecase.UpdateUser not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("wholehousecase.UpdateUser between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("wholehousecase.UpdateUser not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("wholehousecase.UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("wholehousecase.UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("wholehousecase.UpdateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.UpdateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("wholehousecase.UpdateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.UpdateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("wholehousecase.UpdateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.UpdateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("wholehousecase.UpdateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.UpdateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("wholehousecase.UpdateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.UpdateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("wholehousecase.UpdateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualToColumn(WholeHouseCase.Column column) {
            addCriterion(new StringBuilder("wholehousecase.UpdateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("wholehousecase.UpdateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("wholehousecase.UpdateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("wholehousecase.UpdateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("wholehousecase.UpdateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        private WholeHouseCaseExample example;

        protected Criteria(WholeHouseCaseExample example) {
            super();
            this.example = example;
        }

        public WholeHouseCaseExample example() {
            return this.example;
        }

        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        public Criteria andLogicalDeleted(boolean deleted) {
            return deleted ? andDeletedEqualTo(WholeHouseCase.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(WholeHouseCase.Deleted.IS_DELETED.value());
        }

        @Deprecated
        public interface ICriteriaAdd {
            Criteria add(Criteria add);
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }

    public interface ICriteriaWhen {
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        void example(com.ecoolex.ying.space.entity.WholeHouseCaseExample example);
    }
}